package com.baidu.manager.modules.sys.dao;

import com.baidu.manager.modules.sys.entity.SysUserToken;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Author: jql
 * @description: TODO()
 * @Date: Created by 15:12 2018/4/20
 */
@Mapper
public interface SysUserTokenDao extends BaseDao<SysUserToken> {

    SysUserToken queryByUserId(Long userId);

    SysUserToken queryByToken(String token);
}
